<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>be a better man</title><meta name="author" content="金彬"><meta name="copyright" content="金彬"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="你怎么对待生活，生活就怎么对待你">
<meta property="og:type" content="website">
<meta property="og:title" content="be a better man">
<meta property="og:url" content="https://jinbin93_admin.gitee.io/note/index.html">
<meta property="og:site_name" content="be a better man">
<meta property="og:description" content="你怎么对待生活，生活就怎么对待你">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://jinbin93_admin.gitee.io/note/img/%E5%A4%B4%E5%83%8F.jpg">
<meta property="article:author" content="金彬">
<meta property="article:tag" content="只要开始，永远不嫌晚">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://jinbin93_admin.gitee.io/note/img/%E5%A4%B4%E5%83%8F.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://jinbin93_admin.gitee.io/note/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
  root: '/note/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  infinitegrid: {
    js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js',
    buttonText: '加载更多'
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'be a better man',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2023-11-30 11:07:25'
}</script><script>(win=>{
      win.saveToLocal = {
        set: (key, value, ttl) => {
          if (ttl === 0) return
          const now = Date.now()
          const expiry = now + ttl * 86400000
          const item = {
            value,
            expiry
          }
          localStorage.setItem(key, JSON.stringify(item))
        },
      
        get: key => {
          const itemStr = localStorage.getItem(key)
      
          if (!itemStr) {
            return undefined
          }
          const item = JSON.parse(itemStr)
          const now = Date.now()
      
          if (now > item.expiry) {
            localStorage.removeItem(key)
            return undefined
          }
          return item.value
        }
      }
    
      win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
        const script = document.createElement('script')
        script.src = url
        script.async = true
        script.onerror = reject
        script.onload = script.onreadystatechange = function() {
          const loadState = this.readyState
          if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
          script.onload = script.onreadystatechange = null
          resolve()
        }

        Object.keys(attr).forEach(key => {
          script.setAttribute(key, attr[key])
        })

        document.head.appendChild(script)
      })
    
      win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
        const link = document.createElement('link')
        link.rel = 'stylesheet'
        link.href = url
        if (id) link.id = id
        link.onerror = reject
        link.onload = link.onreadystatechange = function() {
          const loadState = this.readyState
          if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
          link.onload = link.onreadystatechange = null
          resolve()
        }
        document.head.appendChild(link)
      })
    
      win.activateDarkMode = () => {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = () => {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
        if (t === 'dark') activateDarkMode()
        else if (t === 'light') activateLightMode()
      
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
      const detectApple = () => {
        if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
          document.documentElement.classList.add('apple')
        }
      }
      detectApple()
    })(window)</script><meta name="generator" content="Hexo 7.0.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="../img/%E5%A4%B4%E5%83%8F.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/"><div class="headline">文章</div><div class="length-num">5</div></a><a href="../tags/"><div class="headline">标签</div><div class="length-num">3</div></a><a href="../categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="../index.html"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="../archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="../tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="../categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header"><nav id="nav"><span id="blog-info"><a href="../index.html" title="be a better man"><span class="site-name">be a better man</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="../index.html"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="../archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="../tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="../categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">be a better man</h1><div id="site_social_icons"><a class="social-icon" href="../jinbinvip@163.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="posts/22514.html" title="Hexo-abbrlink生成唯一链接">Hexo-abbrlink生成唯一链接</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-29T10:09:09.169Z" title="发表于 2023-11-29 18:09:09">2023-11-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="categories/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">博客搭建</a></span></div><div class="content">背景Hexo原有的链接生成permalink包含日期+文件标题，可能包含中文，并且如果标题更改后原链接会失效。
原有链接格式
1permalink: :year/:month/:day/:title/

缺陷：如果title本身如果更改，那么原有的链接就将会失效，所有的引用就无效了。备注：其中的title为Front-matter内的title，而非文件的名称
解决方案1、安装abbrlink插件1npm install hexo-abbrlink --save 

安装后，hexo会自动在Front-matter中自动加入abbrlink字段。

2、修改hexo的_config.yml配置123456permalink: posts/:abbrlink.html   #将原来文章的地址改为这个 permalink_defaults:pretty_urls:  trailing_index: true # Set to false to remove trailing &#x27;index.html&#x27; from permalinks  trailing_html: tru ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="posts/2269.html" title="系统工程">系统工程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-29T06:31:26.401Z" title="发表于 2023-11-29 14:31:26">2023-11-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="categories/%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/">项目管理</a></span></div><div class="content">系统工程
系统工程将系统思维与系统流程模型结合起来，通过系统、集成化的设计流程及项目管理方法、工具开发出解决方案
所有系统都是由具有属性或功能的部件或元素组成，这些元素通过特定关系相互链接。
系统的复杂度由系统或子系统的动态性、可变性、种类、多样性和规模所决定
系统工程综合了许多以技术和人为中心的学科
在系统生命周期中，系统工程将工业、机械、制造、控制、软件、电气、土木工程及控制论、组织研究和项目管理整合起来。通过技术和管理流程，确保实现系统用户的需求。

系统工程设计框架中的步骤
规划产品和选择任务
明确任务，编写需求清单
识别要解决的基本问题
构建功能结构
研讨和采用工作原则
选择合理的解决方案组合
确定原理解
评估原理解

设计思维
精益创业过程
共情—-定义—-想法—–原型——测试
</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="posts/56206.html" title="敏捷原理记录">敏捷原理记录</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-29T03:04:35.230Z" title="发表于 2023-11-29 11:04:35">2023-11-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="categories/%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/">项目管理</a></span></div><div class="content">敏捷开发的实践原则1、我们最优先要做的是通过尽早的、持续的交付有价值的软件来使客户满意。
2、即使到了开发的后期，也欢迎改变需求。敏捷过程利用变化来为客户创造竞争优势。
3、经常性的交付可以工作的软件，交付的间隔可以从几个星期到几个月，交付的时间间隔越短越好。
4、在整个项目开发期间，业务人员和开发人员必须天天在一起工作。
5、围绕被激励起来的个体来构建项目。给他们提供所需的环境和支持，并且信任他们能够完成工作。
6、在团队内部，最具有效果并且富有效率的传递信息的方法，就是面对面的交谈。
7、工作的软件是首要的进度度量标准。
8、敏捷过程提倡可持续的开发进度。责任人、开发者和用户应保持一个长期恒定的开发速度。
9、不断关注优秀的技能和好的设计会增强敏捷能力。
10、简单—使未完成的工作最小化的艺术——是根本的。
11、最好的架构、需求和设计出自于自组织的团队。
12、每隔一定时间，团队会在如何才能更有效的工作方面进行反省，然后相应地对自己的行为进行调整。
敏捷Scrum的精髓
SCRUM使得我们能够专注于如何在最短的时间内实现最有价值的部分。
SCRUM使得我们最能够快速且经常的监督实 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="posts/431.html" title="hexo博客发布图片显示问题">hexo博客发布图片显示问题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-28T01:53:19.618Z" title="发表于 2023-11-28 09:53:19">2023-11-28</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="categories/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">博客搭建</a></span></div><div class="content">问题描述使用Typora编辑.md文件，避免不了图片粘贴，粘贴的图片，可以使用绝对路径也可以使用相对路径，因为要发布到gitee上，所以使用的相对路径。但是在执行hexo g构建静态资源文件时，发现图片资源构建出来的路径与文件中的引用路径不一致，导致静态资源html，加载不到对应的图片资源，图片不能正常显示。
解决办法1、配置Typora图片路径选择插入图片，复制到指定路径：**.&#x2F;${filename}**即保存到与当前正在编辑的文件名相同的同级文件夹下。

2、配置Hexo图片文件夹
在Hexo根目录打开配置文件_config.xml
搜索 post_assert_folder,false改为true（修改后，每次生成新文章，都会在文章文件同级目录创建一个与文章文件名同名的文件夹，我们就在这里存放文件的图片）

3、开发Hexo转换图片路径插件现在，我们再Typora下使用example引用图片，享受实时预览，但需发布到Hexo,使之发布后能正确加载我们的图片，还需要做以下转换：
1![example](postname/example.jpg) --&gt; &#123 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="posts/25103.html" title="Hexo+Gitee部署静态博客">Hexo+Gitee部署静态博客</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-26T16:00:00.000Z" title="发表于 2023-11-27 00:00:00">2023-11-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="categories/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">博客搭建</a></span></div><div class="content">​        
背景​		作为一个程序员，拥有一个自己的博客系统是普遍的想法，之前也付诸于行动了。阿里云服务器+springboot后台+layui前台从头搭建过，域名也申请过，跑起来过，从零开始搭建自己的博客系统，很理想，但效果确实是不太好。作为一个后端程序员，前端是个拦路虎，做出来的博客系统只能说是能用，但是不美观，不好看，想美化但是碍于前端的门槛，就慢慢弃置不用了，荒废了，直至云服务器到期了也没有管它。
​		内心的博客小愿景还是没有熄灭。现在搭建博客的想法又来了，网上搜索了一圈方案，了解到了Hexo，可以通过gitee发布，免去自己搞域名的繁琐，生成静态页面，文章的格式可以通过编辑器自己编辑，搭建过程还算简单，是个可行的方案。
Hexo官网说明文档地址：https://hexo.io/zh-cn/docs/setup
环境准备1、安装Node.js12nodeJs下载地址：    https://nodejs.org/en/download/按需下载版本，默认安装

2、 安装Git12git下载地址：    https://git-scm.com/download/win ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="../img/%E5%A4%B4%E5%83%8F.jpg" onerror="this.onerror=null;this.src='../img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">金彬</div><div class="author-info__description">你怎么对待生活，生活就怎么对待你</div></div><div class="card-info-data site-data is-center"><a href="/"><div class="headline">文章</div><div class="length-num">5</div></a><a href="../tags/"><div class="headline">标签</div><div class="length-num">3</div></a><a href="../categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="../jinbinvip@163.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="../posts/22514.html" title="Hexo-abbrlink生成唯一链接">Hexo-abbrlink生成唯一链接</a><time datetime="2023-11-29T10:09:09.169Z" title="发表于 2023-11-29 18:09:09">2023-11-29</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="../posts/2269.html" title="系统工程">系统工程</a><time datetime="2023-11-29T06:31:26.401Z" title="发表于 2023-11-29 14:31:26">2023-11-29</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="../posts/56206.html" title="敏捷原理记录">敏捷原理记录</a><time datetime="2023-11-29T03:04:35.230Z" title="发表于 2023-11-29 11:04:35">2023-11-29</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="../posts/431.html" title="hexo博客发布图片显示问题">hexo博客发布图片显示问题</a><time datetime="2023-11-28T01:53:19.618Z" title="发表于 2023-11-28 09:53:19">2023-11-28</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="../posts/25103.html" title="Hexo+Gitee部署静态博客">Hexo+Gitee部署静态博客</a><time datetime="2023-11-26T16:00:00.000Z" title="发表于 2023-11-27 00:00:00">2023-11-27</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="../categories/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/"><span class="card-category-list-name">博客搭建</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="../categories/%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/"><span class="card-category-list-name">项目管理</span><span class="card-category-list-count">2</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="../tags/%E5%B7%A5%E7%A8%8B/" style="font-size: 1.1em; color: #999">工程</a> <a href="../tags/npdp/" style="font-size: 1.3em; color: #99a1ac">npdp</a> <a href="../tags/hexo/" style="font-size: 1.5em; color: #99a9bf">hexo</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="2023/11/"><span class="card-archive-list-date">十一月 2023</span><span class="card-archive-list-count">5</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">5</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-11-30T03:07:25.867Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By 金彬</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="js/utils.js"></script><script src="js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>